<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

	<%@page import="Bean.JoinBean"%>
<!DOCTYPE html>
<% String myContext = request.getContextPath(); %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

		<br>
	<div id="widthfordiv">
		<table class="tblcss" align="center" border="0">
			<thead>
				<tr>
					<th colspan="7"><h1>TOP 10</h1></th>
				</tr>
			</thead>
			<tbody>
				<%
					int i = 1;
				%>
				<c:forEach var="buy" items="${buylistall}">
					<tr>
						<td align="center" width="100"> <%= i%></td>
						<td><img src="/bigjo/media/albumArt/${buy.musicBean.ms_album}.jpg" width="70" height="70"/></td>
						<td width="150" align="center"><font size="5">${buy.musicBean.ms_title}</font></td>
						<td width="350" align="center">
							${buy.singerBean.s_singer} ${buy.musicBean.ms_featuring}<br>
							${buy.musicBean.ms_album} / ${buy.musicBean.ms_genre}<br>
						</td>
						<td>
							${buy.downloadBean.d_buyday}
						</td>
						<%
							i++;
						%>
					</tr>
				</c:forEach>
			</tbody>
		</table>
	</div>
	
</body>
</html>